package com.czl.elm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;
import java.util.concurrent.atomic.AtomicInteger;

@Data
@Document("seckill")
@NoArgsConstructor
@AllArgsConstructor
public class Seckill extends RedShopParper{

    @ApiModelProperty("开抢时间")
    private LocalDateTime killTime;
    @ApiModelProperty("数量，-999表示不限量")
    private Integer redpaperNum;
    @ApiModelProperty("秒杀名称")
    private String seckillName;



}
